package com.netsdk;

import com.netsdk.demo.frame.Gate.Gate;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.netsdk.mapper")
public class DhsdkApplication {

    public static void main(String[] args) {
        SpringApplication.run(DhsdkApplication.class, args);
        System.out.println("开始连接设备");
        Gate.start();

    }


   /* @Bean
    public SpringContextHolder springContextHolder() {
        return new SpringContextHolder();
    }
*/
}
